package com.aaa.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author JYH
 * @version 1.0
 * @date 2023/3/14 16:20
 */
@FeignClient(value = "car-rent")
public interface CarFeign {
    @RequestMapping("/car/updateState")
    Integer updateState(@RequestParam("id") Integer id);
}
